package Coffee.bean;

public class Coffee {
    private String cofid;
    private String cofname;
    private int cofprice;
    private String state;

    @Override
    public String toString() {
        return String.format("饮品名：%s\t价格：%3d\t状态：%s", cofname, cofprice, state);
    }

    public String getCofid() {
        return cofid;
    }

    public void setCofid(String cofid) {
        this.cofid = cofid;
    }

    public String getCofname() {
        return cofname;
    }

    public void setCofname(String cofname) {
        this.cofname = cofname;
    }

    public int getCofprice() {
        return cofprice;
    }

    public void setCofprice(int cofprice) {
        this.cofprice = cofprice;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Coffee() {
    }

    public Coffee(String cofid, String cofname, int cofprice, String state) {
        this.cofid = cofid;
        this.cofname = cofname;
        this.cofprice = cofprice;
        this.state = state;
    }
}
